package cn.tedu.spring6;

import java.util.Arrays;

public class QianDaYe {
    //爱好
    private String[] likes;
    //多个女性朋友
    private Woman[] womans;


    public void setWomans(Woman[] womans) {
        this.womans = womans;
    }

    public void setLikes(String[] likes) {
        this.likes = likes;
    }

    @Override
    public String toString() {
        return "QianDaYe{" +
                "likes=" + Arrays.toString(likes) +
                ", womans=" + Arrays.toString(womans) +
                '}';
    }
}
